import App from './App'

// #ifndef VUE3
import Vue from 'vue'
import './uni.promisify.adaptor'
import zdyTabbar from "components/zdy-tabbar/zdy-tabbar.vue"
import movable from 'components/suspension/index.vue'
// 全局 mixin
import Mixin from 'mixins/global-mixin.js';
Vue.mixin(Mixin);
// 注册全局组件
Vue.component('zdy-tabbar', zdyTabbar)
Vue.config.productionTip = false

//2、全局注册组件
Vue.component('movable',movable)	


App.mpType = 'app'
const app = new Vue({
  ...App
})
app.$mount()
// #endif

// #ifdef VUE3
import { createSSRApp } from 'vue'
export function createApp() {
  const app = createSSRApp(App)
  return {
    app
  }
}
// #endif